/*
 * @Date: 2020-11-27 15:53:24
 * @LastEditors: 小枫
 * @description: description
 * @LastEditTime: 2020-11-27 18:44:32
 * @FilePath: \stu-nest\src\modules\users\users.module.ts
 */
import { Module } from '@nestjs/common';
import { UsersService } from './users.service';
import { UsersController } from './users.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { UsersEntity } from './users.entity';

@Module({
  imports: [TypeOrmModule.forFeature([UsersEntity])],
  providers: [UsersService],
  exports: [UsersService],
  controllers: [UsersController],
})
export class UsersModule {}
